#ifndef UTIL_H_
#define UTIL_H_

#include <iostream>
#include <string>
#include <set>
#include "Token.h"
using namespace std;

const char lexResultTxt[] = "../result/lex_result.txt";
const char synResultTxt[] = "../result/syn_result.txt";
const char SymbolTxt[] = "../result/Symbol.txt";
const char grammar_path[] = "../data/grammar";
const char data_path[] = "../data/t1.sy";

string toLower(string str);
bool isAllLetter(string str);
void printToken(const string& token, int code, int lineNum);
set<char> getList(char ch);

#endif